﻿using System;
using System.Web;
using System.ComponentModel;

public class HumanResource
{
    private int _iId;
    private string _sUsername;
    private string _sFirstName;
    private string _sLastName;
    private string _sPassword;
    private string _sPhone;
    private string _sEmail;
    private int _iProfile;
    private int _iRole;


    public HumanResource() {
        this.sFirstName = "";
    }

    public HumanResource(String sUsername, String sPassword, String sFirstName, String sLastName, String sEmail, String sPhone, int iProfile, int iRole) 
    {
        this.sUsername = sUsername;
        this.sFirstName = sFirstName;
        this.sLastName = sLastName;
        this.sPassword = sPassword;
        this.sPhone = sPhone;
        this.sEmail = sEmail;
        this.iRole = iRole;
        this.iProfile = iProfile;
    }

    public HumanResource(int iId, String sUsername, String sPassword, String sFirstName, String sLastName, String sEmail, String sPhone, int iProfile, int iRole)
    {
        this.iId = iId;
        this.sUsername = sUsername;
        this.sFirstName = sFirstName;
        this.sLastName = sLastName;
        this.sPassword = sPassword;
        this.sPhone = sPhone;
        this.sEmail = sEmail;
        this.iRole = iRole;
        this.iProfile = iProfile;
    }



    public int iId
    {
        get
        {
            return _iId;
        }
        set
        {
            _iId = value;
        }
    }

    public String sUsername
    {
        get
        {
            return _sUsername;
        }
        set
        {
            _sUsername = value;
        }
    }

    public String sFirstName
    {
        get
        {
            return _sFirstName;
        }
        set
        {
            _sFirstName = value;
        }
    }

    public String sLastName
    {
        get
        {
            return _sLastName;
        }
        set
        {
            _sLastName = value;
        }
    }

    public String sPassword
    {
        get
        {
            return _sPassword;
        }
        set
        {
            _sPassword = value;
        }
    }

    public String sPhone
    {
        get
        {
            return _sPhone;
        }
        set
        {
            _sPhone = value;
        }
    }

    public String sEmail
    {
        get
        {
            return _sEmail;
        }
        set
        {
            _sEmail = value;
        }
    }

    public int iProfile
    {
        get
        {
            return _iProfile;
        }
        set
        {
            _iProfile = value;
        }
    }

    
    public int iRole
    {
        get
        {
            return _iRole;
        }
        set
        {
            _iRole = value;
        }
    }

 
}
